<!DOCTYPE html>
<html>
<head>
	<title>07CSS基础</title>
	<style type="text/css">
		body,ul,li{
			margin: 0;
			padding: 0;
		}
		li{
			list-style: none;
		}
		img{
			border: 0;
		}
		a{
			text-decoration: none;
		}
		.banner{
			width: 600px;
			margin: 0 auto;
		}
		.nav{
			height: 32px;
			background: url("images/nav_bg.jpg");
			line-height: 32px;
		}
		.nav ul li{
			float: left;
		}
		.nav ul li a{
			display: inline-block;
			width: 80px;
			height: 32px;
			font-size: 18px;
			font-family: 微软雅黑;
			text-align: center;

			background: url("images/a_bg.jpg");
		}
		.nav ul li a:hover{
			background: url("images/button2.jpg");
		}
	</style>
</head>
<body>
	<div class="banner">
		<img src="images/banner1.jpg" alt="jj">
		<div class="nav">
			<ul>
				<li><a href="#">首页导航</a></li>
				<li><a href="#">首页导航</a></li>
				<li><a href="#">首页导航</a></li>
				<li><a href="#">首页导航</a></li>
				<li><a href="#">首页导航</a></li>
				<li><a href="#">首页导航</a></li>
			</ul>
		</div>						
	</div>
</body>
</html>